The properties in the prpcServiceUtils.properties file and the arguments to the prpcServiceUtils.bat or prpcServiceUtils.sh script control service-enabled application distribution. The following tables define each property and argument.
The parameters in the prpcServiceUtils.properties file configure the actions of the prpcServiceUtils.bat or prpcServiceUtils.sh command-line script. Use the properties file to set property values for reuse to minimize errors in entering commands.
prpcServiceUtils.properties file property name | Action |
---|---|
pega.rest.server.url |
Enter the URL for the REST service in the following format: http://<hostname>:<port>/context/PRRestService/tenanthash Include the tenant hash only for multitenant systems. |
pega.rest.username | Enter the operator name on the target system with access to REST services. |
pega.rest.password | Enter the password of the specified operator. |
pega.rest.proxy.host | Enter the host name of the REST proxy server. Do not use localhost as the host name. |
pega.rest.proxy.port | Enter the port for the REST proxy server. |
pega.rest.proxy.username | Enter the operator name on the REST proxy server with import and export access. |
pega.rest.proxy.password | Enter the password of the REST proxy operator. |
pega.rest.proxy.domain | Enter the domain of the REST proxy server. |
pega.rest.proxy.workstation | Optional: Enter the workstation ID for the REST proxy server. |
user.temp.dir | Optional: Enter the full path to the temporary directory. Leave this blank to use the default temporary directory. |
None of these settings have a corresponding script argument.
prpcServiceUtils.properties file property name | Action |
---|---|
export.archiveName |
Enter the name of the archive file to export. |
export.productName | If you are exporting a product, enter the name of the product to export. |
export.productVersion | If you are exporting a product, enter the version of the product to export. |
export.applicationVersion | If you are exporting an application, enter the version of the application to export. |
export.applicationName | If you are exporting an application, enter the name of the application to export. |
export.async |
Specify whether to run the process in asynchronous mode and queue the jobs. Set to true (default) to return a job ID for each operation that you can use later to check the status. |
To specify the data to expose, Use the include and exclude classes. For example, if you include Rule- with descendants and exclude Rule-File- with descendants, the Pega 7 Platform processes everything in Rule-, except rules in Rule-File-.
Classes to include (required):
prpcServiceUtils.properties file property name | Action |
---|---|
expose.includedClasses |
Enter a comma-separated list of classes to include in the column. If you plan to specify a range of keys from pzInsKey, you must specify one class with no descendants. |
expose.includeDescendents | Optional: Set to true to exclude descendants of included classes. |
Classes to exclude:
prpcServiceUtils.properties file property name | Action |
---|---|
expose.excludedClasses |
Enter a comma-separated list of classes to exclude from the column. |
expose.excludeDescendents | Optional: Set to true to exclude descendants of excluded classes. |
Access group:
prpcServiceUtils.properties file property name | Action |
---|---|
expose.accessGroup |
Enter the access group for the Rule-Declare-Index of the classes being exposed. |
Keys and date ranges:
Specify the range of pzInsKey or pxCreateDateTime values to expose. If you specify both, the pzInsKey values override the pxCreateDateTime values.
prpcServiceUtils.properties file property name | Action |
---|---|
expose.startKey | Enter the minimum value for pzInsKey. The system will export data equal to or greater than this value. |
expose.endKey | Enter the maximum value for pzInsKey. The system will export data equal to or less than this value. |
expose.startDate | Enter the minimum value for pxCreateDateTime. The system will export data equal to or greater than this value. |
expose.endDate | Enter the maximum value for pxCreateDateTime. The system will export data equal to or less than this value. |
Reindexing exposed data:
prpcServiceUtils.properties file property name | Action |
---|---|
expose.reindex |
Specify whether to regenerate the database. The default is true. To expose property references, set expose.reindex=true. To regenerate indexes, enter an access group or the REST user name and password (prpc.rest.proxy.username and prpc.rest.proxy.password in the common properties section). If you enter both an access group and a user name, the user name takes precedence over the access group. |
expose.reindexType |
To maximize performance, process Pega 7 Platform rulesets only when instructed to do so by Pegasystems Global Customer Support. Specify which rulesets to re-index:
To maximize performance, process Pega 7 Platform rulesets only when instructed to do so by Pegasystems Global Customer Support. |
expose.commitRate |
Specify the number of data instances processed with each database commit to balance memory usage and performance. The default of 100 is sufficient for most environments. |
expose.jobID | Optional: To query the job status, uncomment this field and specify the job ID. |
expose.async | Specify whether to run the expose operation in asynchronous mode and queue the request. Default is true. |
prpcServiceUtils.properties file property name | Action |
---|---|
import.archive.path |
Enter the relative path to the archive from the \utils\ folder or the full path to the archive. If the path is a folder, the tool processes all archive files in that folder. |
import.mode |
Enter the import mode:
|
import.existingInstances |
Specify how the import action handles existing instances:
|
import.nofailonerror |
Set to true to skip instances that fail to import and continue after an import failure. Set to false to stop the import if any import action fails. |
import.commitRate | Specify the number of data instances processed with each database commit to balance memory usage and performance. The default of 100 is sufficient for most environments. |
import.compileLibraries | Specify whether to compile libraries after import. Default is true. |
import.allowImportWithMissingDependencies | Specify whether to allow the import to continue even if the archive is dependent on missing products. Default is false. |
import.enable.defaultcontext | Specify whether to allow triggers for the Pega 7 Platform to run while performing command-line imports. Default is false. To allow triggers to run during imports, uncomment this property and set to true. |
import.codeset.name | Optional: Enter the name of the code set to receive the Java .class files. |
import.codeset.version | Optional: Enter the code set version. |
import.async |
Specify whether to run the process in asynchronous mode and queue the jobs. Set to true (default) to return a job ID for each operation that you can use later to check the status. |
import.trackData | Specify whether to import only data, that is, anything that is not in PegaRULES. When true, data, including DDL changes, is imported and tracked. Tracked data can later be rolled back or committed using the manage tracked data tool. |
prpcServiceUtils.properties file property name | Action |
---|---|
getstatus.jobID |
For asynchronous mode, enter the job ID. |
getstatus.operationName | Enter the operation name associated with the job ID: export, expose, or import. |
prpcServiceUtils.properties file property name | Action |
---|---|
manageTrackedData.operation |
Specify whether to roll back or commit tracked data. Tracked data is data that has been imported using the import tool with the
|
prpcServiceUtils.properties file property name | Action |
---|---|
hotfix.operation |
Specify the operation to perform. Valid operations are: scan, install, rollback, commit, and GenerateDDL. |
hotfix.async |
Set to true to run in asynchronous mode. When run in asynchronous mode, the Hotfix Manager queues the request and returns a JobID that can be used to retrieve the job status of the request. Default is true. |
Hotfix Manager operation parameters:
Hotfix operation | Required parameters |
scan |
hotfix.CatalogPath= <full path to the Catalog.zip file> hotfix.scan.downloadPath= <full path and .zip file name> where you plan to save the scan results |
install |
hotfix.DLFilePath=<comma-delimited list of hotfix package DL file names and paths> hotfix.bypass.Schema=<true/false> Set to true to bypass schema modifications made by the hotfix. The default is false. hotfix.force=<true/false> Set only at the request of Pegasystems Global Customer Support to skip hotfix validations and force the hotfix data into the system. |
rollback |
There are no additional parameters. If you run rollback, all uncommitted hotfixes uninstall. |
commit | There are no additional parameters. If you run commit, all uncommitted hotfixes become a permanent part of the system. You cannot rollback committed hotfixes. |
GenerateDDL |
hotfix.DLFilePath=<comma-delimited list of hotfix package DL file names and paths> |
Use the script arguments to augment or override certain values in the property file, for example to customize one script action.
prpcServiceUtils script argument | Action |
---|---|
--connPropFile | Enter the full path to the connection.properties file that includes information for multiple targets. |
--poolSize | Enter the thread pool size. Default is 5. |
--requestTimeOut | Specify how long the system waits for a response before failing with a timeout error. Default is 300 seconds. |
--jobIdFile | Enter the path to the job IDs file that is generated by the asynchronous operation. |
--operationName | Specify the operation that generated the job ID for getStatus: import, export, or expose. |